package com.ruoyi.system.service.impl;

import com.ruoyi.system.domain.AlarmLog;
import com.ruoyi.system.mapper.AlarmLogMapper;
import com.ruoyi.system.service.IAlarmLogService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author: zhoupeng
 * @date: 2021/9/12 21:00
 * @descreption: 报警日志服务层实现
 */
@Service
public class AlarmLogServiceImpl implements IAlarmLogService {

    @Resource
    private AlarmLogMapper alarmLogMapper;

    /**
     * 根据日期查询报警日志列表
     *
     * @param alarmLog 报警日志参数
     * @return 报警日志集合
     */
    public List<AlarmLog> selectAlarmLogList(AlarmLog alarmLog) {
        return alarmLogMapper.selectAlarmLogList(alarmLog);
    }
}
